<?php

    error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);


    info_log(' ------------------------------------------------------------------');
    info_log(' Started IPN message: ');
    //$subscr_id = $_POST['subscr_id'];



function info_log($str)   {

   $fname = "logs/paypal.info.log.html";
   if($ff = fopen($fname,'a'))    {
    	fwrite($ff,date('Y-m-d h:i:s').' :: '.$str."<br>\n");
    	fclose($ff);
   }
}



?>